package com.lz.helper.face

interface FeatureRequest {

    fun recognize(nvData: ByteArray, nvFeature: FloatArray, w: Int, h: Int): Int

    fun timeout()

    interface Callback {

        fun onFeatureError(type: Int, err: Int)

        fun onFeatureSuccess(type: Int, nvData: ByteArray, w: Int, h: Int, photoParams: FeatureParams?, examParams: FeatureParams?)
    }
}